package com.yyx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yyx.common.R;
import com.yyx.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 员工信息 服务类
 * </p>
 *
 * @author yeyinxuan
 * @since 2023-07-31
 */
public interface EmployeeService extends IService<Employee> {

//    员工登录后端
    R<Employee> login( HttpServletRequest request,Employee employee);

    boolean saveEmployee(HttpServletRequest request, Employee employee);

    boolean updateEmployee1(Employee employee);


    Page<Employee> selectpage(int page, int pageSize, String name);

    public void test ();


}
